import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
  build:{
    minify:false
  },
  plugins: [{
    name:'merge:chunk',
    apply:'build',
    enforce:'post',
   
    generateBundle:(options,bundle)=>{
      Object.keys(bundle).forEach((key)=>{
        const item=bundle?.[key]
        console.log(key,item?.importedBindings,item?.imports)
      })
      console.log(options,)
    }
  }],
});
